
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background: #f0f2f5;
    line-height: 1.6;
    color: #1a1a1a;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 50px auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h1 {
    color: #1a73e8;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2em;
}

.main-domain {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.main-domain a {
    color: #1a73e8;
    font-size: 1.8em;/* 字体大小 */
    text-decoration: none;
    font-weight: 600;
}

.main-domain-1 {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 5px;
}

.main-domain-1 a {
    color: #1a73e8;
    font-size: 1em;/* 字体大小 */
    text-decoration: none;
    font-weight: 600;
}

.notice {
    background: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
    border: 1px solid #ffeeba;
}

.backup-links {
    margin: 30px 0;
}

.backup-links h2 {
    color: #666;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.backup-links ul {
    list-style: none;
}

.backup-links li {
    margin: 10px 0;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer; /* 添加鼠标指针样式，表示可点击 */
}

.backup-links a {
    color: #1a73e8;
    text-decoration: none;
    flex-grow: 1;
}

.latency {
    margin-left: 15px;
    font-size: 0.9em;
    min-width: 90px;
    text-align: right;
}

.latency.loading {
    color: #666;
}

.latency.good {
    color: #28a745;
}

.latency.medium {
    color: #ffc107;
}

.latency.bad {
    color: #dc3545;
}

.loading-text {
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.update-time {
    text-align: center;
    color: #666;
    margin-top: 30px;
    font-size: 0.9em;
}

.loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loader.active {
    display: flex;
}

.loader-icon {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1a73e8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    margin-top: 20px;
    font-size: 1.2em;
    color: #333;
}

.loader-progress {
    width: 200px;
    height: 4px;
    background: #f0f0f0;
    margin-top: 20px;
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress-bar {
    height: 100%;
    width: 0;
    background: #1a73e8;
    transition: width 0.3s ease;
}

@media (max-width: 768px) {
    .container {
        margin: 20px auto;
        padding: 20px;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    .main-domain a {
        font-size: 1.4em;
    }

    .backup-links li {
        flex-wrap: wrap;
    }
    
    .latency {
        width: 100%;
        margin-left: 0;
        margin-top: 8px;
    }
}
/* 备案信息 */
.footer {
    margin-top: 40px;
    text-align: center;
    font-size: 0.9em;
    color: #666;
}

.footer a {
    color: #666;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #1a73e8;
}

.footer img {
    vertical-align: middle;
    height: 15px;
    margin-right: 5px;
}
/* 所有的css代码全部转移到css目录 */
